import {RequestUtil} from '@/utils'

export class SystemHttp {
    static PREFIX = "/manager/wiki/intel"


    static getNoticePage = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/notice/pageList`, params)

    static addNotice = (data: Record<string, any>) => RequestUtil.postAjax(`${this.PREFIX}/notice/add`, data)

    static updateNotice = (id: string | number, data: Record<string, any>) => RequestUtil.putAjax(`${this.PREFIX}/notice/update/${id}`, data)

    static delNotice = (data: any[]) => RequestUtil.delAjax(`${this.PREFIX}/notice/delete`, data)


    static getRemindPage = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/remind/pageList`, params)

    static addRemind = (data: Record<string, any>) => RequestUtil.postAjax(`${this.PREFIX}/remind/add`, data)

    static updateRemind = (id: string | number, data: Record<string, any>) => RequestUtil.putAjax(`${this.PREFIX}/remind/update/${id}`, data)

    static delRemind = (data: any[]) => RequestUtil.delAjax(`${this.PREFIX}/remind/delete`, data)


}
